home *** CD-ROM | disk | FTP | other *** search
/ Chip 1999 July / Chip_1999-07_cd.bin / zkuste / MacOS / Data / Files / sms.sit / Smart Scroll 3.5 / for Developers / SmartScrollAPI.h < prev    next >
Text File  |  1997-11-25  |  1KB  |  45 lines

  1. /*
  2.      File:        SmartScrollAPI.h
  3.  
  4.      Contains:    Smart Scroll Application Programming Interface
  5.  
  6.      Version:    1.4
  7.  
  8.      Copyright:    ⌐ 1996, 1997 by Marc Moini, portions by Marc Menschenfreund,
  9.                 Alessandro Levi Montalcini, Marco Piovanelli and Mark Shirley (Thanks!)
  10.                  All rights reserved.
  11.  
  12.      Bugs?:        If you find a problem with this file, please email Marc@Kagi.com
  13.  
  14.      Version
  15.     History:    1.4        24sep97    fixes by Marco Piovanelli
  16.                 1.3        21feb97    Same as 1.2, except a couple of "ControlHandle" definitions changed to "ControlRef"
  17. */
  18.  
  19. #ifndef __SMARTSCROLLAPI__
  20. #define __SMARTSCROLLAPI__
  21.  
  22. #ifndef __TYPES__
  23. #include <Types.h>
  24. #endif
  25.  
  26. #ifndef __CONTROLS__
  27. #include <Controls.h>
  28. #endif
  29.  
  30. #ifdef __cplusplus
  31. extern "C" {
  32. #endif
  33.  
  34. extern pascal void SetSmartScrollInfo (ControlRef theScrollBar, long amountVisible , long amountTotal);
  35. extern pascal void SetSmartScrollProp (ControlRef theScrollBar, Fract proportion);
  36. extern pascal Fract GetSmartScrollProp (ControlRef theScrollBar);
  37. extern pascal void DisposeAllSmartScrolls (void);
  38.  
  39.  
  40. #ifdef __cplusplus
  41. }
  42. #endif
  43.  
  44. #endif    /* __SMARTSCROLLAPI__ */
  45.